Optimal. Leaf size=189 \[ -\frac {b}{a^3 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {b}{4 a^2 \left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {a+b x^2}{2 a^3 x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {3 b \left (a+b x^2\right ) \log (x)}{a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {3 b \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 189, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1126, 272, 46}
\begin {gather*} -\frac {b}{4 a^2 \left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {3 b \log (x) \left (a+b x^2\right )}{a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {3 b \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {b}{a^3 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {a+b x^2}{2 a^3 x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 272
Rule 1126
Rubi steps
\begin {align*} \int \frac {1}{x^3 \left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}} \, dx &=\frac {\left (b^2 \left (a b+b^2 x^2\right )\right ) \int \frac {1}{x^3 \left (a b+b^2 x^2\right )^3} \, dx}{\sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=\frac {\left (b^2 \left (a b+b^2 x^2\right )\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (a b+b^2 x\right )^3} \, dx,x,x^2\right )}{2 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=\frac {\left (b^2 \left (a b+b^2 x^2\right )\right ) \text {Subst}\left (\int \left (\frac {1}{a^3 b^3 x^2}-\frac {3}{a^4 b^2 x}+\frac {1}{a^2 b (a+b x)^3}+\frac {2}{a^3 b (a+b x)^2}+\frac {3}{a^4 b (a+b x)}\right ) \, dx,x,x^2\right )}{2 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ &=-\frac {b}{a^3 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {b}{4 a^2 \left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {a+b x^2}{2 a^3 x^2 \sqrt {a^2+2 a b x^2+b^2 x^4}}-\frac {3 b \left (a+b x^2\right ) \log (x)}{a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}}+\frac {3 b \left (a+b x^2\right ) \log \left (a+b x^2\right )}{2 a^4 \sqrt {a^2+2 a b x^2+b^2 x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 97, normalized size = 0.51 \begin {gather*} \frac {-a \left (2 a^2+9 a b x^2+6 b^2 x^4\right )-12 b x^2 \left (a+b x^2\right )^2 \log (x)+6 b x^2 \left (a+b x^2\right )^2 \log \left (a+b x^2\right )}{4 a^4 x^2 \left (a+b x^2\right ) \sqrt {\left (a+b x^2\right )^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 133, normalized size = 0.70
method | result | size |
risch | \(\frac {\sqrt {\left (b \,x^{2}+a \right )^{2}}\, \left (-\frac {3 b^{2} x^{4}}{2 a^{3}}-\frac {9 b \,x^{2}}{4 a^{2}}-\frac {1}{2 a}\right )}{\left (b \,x^{2}+a \right )^{3} x^{2}}-\frac {3 \sqrt {\left (b \,x^{2}+a \right )^{2}}\, b \ln \left (x \right )}{\left (b \,x^{2}+a \right ) a^{4}}+\frac {3 \sqrt {\left (b \,x^{2}+a \right )^{2}}\, b \ln \left (-b \,x^{2}-a \right )}{2 \left (b \,x^{2}+a \right ) a^{4}}\) | \(117\) |
default | \(\frac {\left (6 \ln \left (b \,x^{2}+a \right ) b^{3} x^{6}-12 \ln \left (x \right ) b^{3} x^{6}+12 \ln \left (b \,x^{2}+a \right ) a \,b^{2} x^{4}-24 a \,b^{2} \ln \left (x \right ) x^{4}-6 a \,b^{2} x^{4}+6 \ln \left (b \,x^{2}+a \right ) a^{2} b \,x^{2}-12 a^{2} b \ln \left (x \right ) x^{2}-9 a^{2} b \,x^{2}-2 a^{3}\right ) \left (b \,x^{2}+a \right )}{4 x^{2} a^{4} \left (\left (b \,x^{2}+a \right )^{2}\right )^{\frac {3}{2}}}\) | \(133\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 75, normalized size = 0.40 \begin {gather*} -\frac {6 \, b^{2} x^{4} + 9 \, a b x^{2} + 2 \, a^{2}}{4 \, {\left (a^{3} b^{2} x^{6} + 2 \, a^{4} b x^{4} + a^{5} x^{2}\right )}} + \frac {3 \, b \log \left (b x^{2} + a\right )}{2 \, a^{4}} - \frac {3 \, b \log \left (x\right )}{a^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 119, normalized size = 0.63 \begin {gather*} -\frac {6 \, a b^{2} x^{4} + 9 \, a^{2} b x^{2} + 2 \, a^{3} - 6 \, {\left (b^{3} x^{6} + 2 \, a b^{2} x^{4} + a^{2} b x^{2}\right )} \log \left (b x^{2} + a\right ) + 12 \, {\left (b^{3} x^{6} + 2 \, a b^{2} x^{4} + a^{2} b x^{2}\right )} \log \left (x\right )}{4 \, {\left (a^{4} b^{2} x^{6} + 2 \, a^{5} b x^{4} + a^{6} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{3} \left (\left (a + b x^{2}\right )^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.49, size = 122, normalized size = 0.65 \begin {gather*} -\frac {3 \, b \log \left (x^{2}\right )}{2 \, a^{4} \mathrm {sgn}\left (b x^{2} + a\right )} + \frac {3 \, b \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, a^{4} \mathrm {sgn}\left (b x^{2} + a\right )} - \frac {9 \, b^{3} x^{4} + 22 \, a b^{2} x^{2} + 14 \, a^{2} b}{4 \, {\left (b x^{2} + a\right )}^{2} a^{4} \mathrm {sgn}\left (b x^{2} + a\right )} + \frac {3 \, b x^{2} - a}{2 \, a^{4} x^{2} \mathrm {sgn}\left (b x^{2} + a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^3\,{\left (a^2+2\,a\,b\,x^2+b^2\,x^4\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________